AMD/IOMMU: without XT, x2APIC needs to be forced into physical mode
authorJan Beulich <jbeulich@suse.com>
Fri, 31 Mar 2023 06:28:56 +0000 (08:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 31 Mar 2023 06:28:56 +0000 (08:28 +0200)
commit3c85fb7b65d6a8b0fa993bc1cb67eea9b4a64aca
tree510db7b62841c57efcb2eed2a91f8a15f9284404
parent3eac216e6e60860bbc030602c401d3ef8efce8d9
AMD/IOMMU: without XT, x2APIC needs to be forced into physical mode

An earlier change with the same title (commit 1ba66a870eba) altered only
the path where x2apic_phys was already set to false (perhaps from the
command line). The same of course needs applying when the variable
wasn't modified yet from its initial value.

Reported-by: Elliott Mitchell <ehem+xen@m5p.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 0d2686f6b66b4b1b3c72c3525083b0ce02830054
master date: 2023-03-21 09:23:25 +0100
xen/arch/x86/genapic/x2apic.c